//logs.js
const util = require('../../utils/util.js')

Page({
  data: {
    logs: [],
    c:true
  },
  onLoad: function () {
    
  },
  a(){
    console.log(this.data.c)
    var c1=this.data.c;
    this.setData({
      c:!c1
    })
  },
  test(){
    wx.showActionSheet({
      itemList: ['中国', '日本', '美国'],
      success(res) {
        console.log(res.tapIndex)
      },
      fail(res) {
        console.log(res.errMsg)
      }
    })

  }
})
